package com.stylefeng.guns.modular.system.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author durui123
 * @since 2018-04-03
 */
public class Company extends Model<Company> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("company_id")
    private String companyId;
    @TableField("company_legal_person")
    private String companyLegalPerson;
    @TableField("company_name")
    private String companyName;
    @TableField("company_tell")
    private String companyTell;
    @TableField("company_fax")
    private String companyFax;
    @TableField("company_country")
    private String companyCountry;
    @TableField("company_province")
    private String companyProvince;
    @TableField("company_city")
    private String companyCity;
    @TableField("company_area")
    private String companyArea;
    @TableField("company_place")
    private String companyPlace;
    @TableField("company_website")
    private String companyWebsite;
    @TableField("company_credit_code")
    private String companyCreditCode;
    @TableField("company_deposit_name")
    private String companyDepositName;
    @TableField("company_deposit_id")
    private String companyDepositId;
    @TableField("company_contact_name")
    private String companyContactName;
    @TableField("company_contact_tell")
    private String companyContactTell;
    @TableField("company_amount")
    private Double companyAmount;
    @TableField("company_money")
    private Double companyMoney;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getCompanyLegalPerson() {
        return companyLegalPerson;
    }

    public void setCompanyLegalPerson(String companyLegalPerson) {
        this.companyLegalPerson = companyLegalPerson;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCompanyTell() {
        return companyTell;
    }

    public void setCompanyTell(String companyTell) {
        this.companyTell = companyTell;
    }

    public String getCompanyFax() {
        return companyFax;
    }

    public void setCompanyFax(String companyFax) {
        this.companyFax = companyFax;
    }

    public String getCompanyCountry() {
        return companyCountry;
    }

    public void setCompanyCountry(String companyCountry) {
        this.companyCountry = companyCountry;
    }

    public String getCompanyProvince() {
        return companyProvince;
    }

    public void setCompanyProvince(String companyProvince) {
        this.companyProvince = companyProvince;
    }

    public String getCompanyCity() {
        return companyCity;
    }

    public void setCompanyCity(String companyCity) {
        this.companyCity = companyCity;
    }

    public String getCompanyArea() {
        return companyArea;
    }

    public void setCompanyArea(String companyArea) {
        this.companyArea = companyArea;
    }

    public String getCompanyPlace() {
        return companyPlace;
    }

    public void setCompanyPlace(String companyPlace) {
        this.companyPlace = companyPlace;
    }

    public String getCompanyWebsite() {
        return companyWebsite;
    }

    public void setCompanyWebsite(String companyWebsite) {
        this.companyWebsite = companyWebsite;
    }

    public String getCompanyCreditCode() {
        return companyCreditCode;
    }

    public void setCompanyCreditCode(String companyCreditCode) {
        this.companyCreditCode = companyCreditCode;
    }

    public String getCompanyDepositName() {
        return companyDepositName;
    }

    public void setCompanyDepositName(String companyDepositName) {
        this.companyDepositName = companyDepositName;
    }

    public String getCompanyDepositId() {
        return companyDepositId;
    }

    public void setCompanyDepositId(String companyDepositId) {
        this.companyDepositId = companyDepositId;
    }

    public String getCompanyContactName() {
        return companyContactName;
    }

    public void setCompanyContactName(String companyContactName) {
        this.companyContactName = companyContactName;
    }

    public String getCompanyContactTell() {
        return companyContactTell;
    }

    public void setCompanyContactTell(String companyContactTell) {
        this.companyContactTell = companyContactTell;
    }

    public Double getCompanyAmount() {
        return companyAmount;
    }

    public void setCompanyAmount(Double companyAmount) {
        this.companyAmount = companyAmount;
    }

    public Double getCompanyMoney() {
        return companyMoney;
    }

    public void setCompanyMoney(Double companyMoney) {
        this.companyMoney = companyMoney;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Company{" +
        "id=" + id +
        ", companyId=" + companyId +
        ", companyLegalPerson=" + companyLegalPerson +
        ", companyName=" + companyName +
        ", companyTell=" + companyTell +
        ", companyFax=" + companyFax +
        ", companyCountry=" + companyCountry +
        ", companyProvince=" + companyProvince +
        ", companyCity=" + companyCity +
        ", companyArea=" + companyArea +
        ", companyPlace=" + companyPlace +
        ", companyWebsite=" + companyWebsite +
        ", companyCreditCode=" + companyCreditCode +
        ", companyDepositName=" + companyDepositName +
        ", companyDepositId=" + companyDepositId +
        ", companyContactName=" + companyContactName +
        ", companyContactTell=" + companyContactTell +
        ", companyAmount=" + companyAmount +
        ", companyMoney=" + companyMoney +
        "}";
    }
}
